
<%@ page import="your_car_status.Inventory" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'inventory.label', default: 'Inventory')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-inventory" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div id="show-inventory" class="content scaffold-show" role="main">
			<h1><g:message code="Show Inventory" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list inventory">
			
				<g:if test="${inventoryInstance?.engineOilLevel}">
				<li class="fieldcontain">
					<span id="engineOilLevel-label" class="property-label"><g:message code="inventory.engineOilLevel.label" default="Engine Oil Level" /></span>
                                                <span class="property-value" aria-labelledby="engineOilLevel-label"><g:fieldValue bean="${inventoryInstance}" field="engineOilLevel"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.fuelLevel}">
				<li class="fieldcontain">
					<span id="fuelLevel-label" class="property-label"><g:message code="inventory.fuelLevel.label" default="Fuel Level" /></span>
					
						<span class="property-value" aria-labelledby="fuelLevel-label"><g:fieldValue bean="${inventoryInstance}" field="fuelLevel"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.airC}">
				<li class="fieldcontain">
					<span id="airC-label" class="property-label"><g:message code="inventory.airC.label" default="Air C" /></span>
					
						<span class="property-value" aria-labelledby="airC-label"><g:formatBoolean boolean="${inventoryInstance?.airC}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.antena}">
				<li class="fieldcontain">
					<span id="antena-label" class="property-label"><g:message code="inventory.antena.label" default="Antena" /></span>
					
						<span class="property-value" aria-labelledby="antena-label"><g:formatBoolean boolean="${inventoryInstance?.antena}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.apron}">
				<li class="fieldcontain">
					<span id="apron-label" class="property-label"><g:message code="inventory.apron.label" default="Apron" /></span>
					
						<span class="property-value" aria-labelledby="apron-label"><g:formatBoolean boolean="${inventoryInstance?.apron}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.ashtray}">
				<li class="fieldcontain">
					<span id="ashtray-label" class="property-label"><g:message code="inventory.ashtray.label" default="Ashtray" /></span>
						<span class="property-value" aria-labelledby="ashtray-label"><g:formatBoolean boolean="${inventoryInstance?.ashtray}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.bBumper}">
				<li class="fieldcontain">
					<span id="bBumper-label" class="property-label"><g:message code="inventory.bBumper.label" default="BB umper" /></span>
					
						<span class="property-value" aria-labelledby="bBumper-label"><g:formatBoolean boolean="${inventoryInstance?.bBumper}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.boardButton}">
				<li class="fieldcontain">
					<span id="boardButton-label" class="property-label"><g:message code="inventory.boardButton.label" default="Board Button" /></span>
					
						<span class="property-value" aria-labelledby="boardButton-label"><g:formatBoolean boolean="${inventoryInstance?.boardButton}" true="Yes" false="No"  /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.boardIndicators}">
				<li class="fieldcontain">
					<span id="boardIndicators-label" class="property-label"><g:message code="inventory.boardIndicators.label" default="Board Indicators" /></span>
					
						<span class="property-value" aria-labelledby="boardIndicators-label"><g:formatBoolean boolean="${inventoryInstance?.boardIndicators}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.bodyWork}">
				<li class="fieldcontain">
					<span id="bodyWork-label" class="property-label"><g:message code="inventory.bodyWork.label" default="Body Work" /></span>
					
						<span class="property-value" aria-labelledby="bodyWork-label"><g:formatBoolean boolean="${inventoryInstance?.bodyWork}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.carSymbol}">
				<li class="fieldcontain">
					<span id="carSymbol-label" class="property-label"><g:message code="inventory.carSymbol.label" default="Car Symbol" /></span>
					
						<span class="property-value" aria-labelledby="carSymbol-label"><g:formatBoolean boolean="${inventoryInstance?.carSymbol}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.carpets}">
				<li class="fieldcontain">
					<span id="carpets-label" class="property-label"><g:message code="inventory.carpets.label" default="Carpets" /></span>
					
						<span class="property-value" aria-labelledby="carpets-label"><g:formatBoolean boolean="${inventoryInstance?.carpets}" true="Yes" false="No"  /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.date}">
				<li class="fieldcontain">
					<span id="date-label" class="property-label"><g:message code="inventory.date.label" default="Date" /></span>
					
						<span class="property-value" aria-labelledby="date-label"><g:formatDate date="${inventoryInstance?.date}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.directionLever}">
				<li class="fieldcontain">
					<span id="directionLever-label" class="property-label"><g:message code="inventory.directionLever.label" default="Direction Lever" /></span>
					
						<span class="property-value" aria-labelledby="directionLever-label"><g:formatBoolean boolean="${inventoryInstance?.directionLever}" true="Yes" false="No"  /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.doorHandle}">
				<li class="fieldcontain">
					<span id="doorHandle-label" class="property-label"><g:message code="inventory.doorHandle.label" default="Door Handle" /></span>
					
						<span class="property-value" aria-labelledby="doorHandle-label"><g:formatBoolean boolean="${inventoryInstance?.doorHandle}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.doorLock}">
				<li class="fieldcontain">
					<span id="doorLock-label" class="property-label"><g:message code="inventory.doorLock.label" default="Door Lock" /></span>
					
						<span class="property-value" aria-labelledby="doorLock-label"><g:formatBoolean boolean="${inventoryInstance?.doorLock}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.elbowRest}">
				<li class="fieldcontain">
					<span id="elbowRest-label" class="property-label"><g:message code="inventory.elbowRest.label" default="Elbow Rest" /></span>
					
						<span class="property-value" aria-labelledby="elbowRest-label"><g:formatBoolean boolean="${inventoryInstance?.elbowRest}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.extinguisher}">
				<li class="fieldcontain">
					<span id="extinguisher-label" class="property-label"><g:message code="inventory.extinguisher.label" default="Extinguisher" /></span>
					
						<span class="property-value" aria-labelledby="extinguisher-label"><g:formatBoolean boolean="${inventoryInstance?.extinguisher}" true="Yes" false="No"  /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.extraTire}">
				<li class="fieldcontain">
					<span id="extraTire-label" class="property-label"><g:message code="inventory.extraTire.label" default="Extra Tire" /></span>
					
						<span class="property-value" aria-labelledby="extraTire-label"><g:formatBoolean boolean="${inventoryInstance?.extraTire}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.fBumper}">
				<li class="fieldcontain">
					<span id="fBumper-label" class="property-label"><g:message code="inventory.fBumper.label" default="FB umper" /></span>
					
						<span class="property-value" aria-labelledby="fBumper-label"><g:formatBoolean boolean="${inventoryInstance?.fBumper}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.fuelCap}">
				<li class="fieldcontain">
					<span id="fuelCap-label" class="property-label"><g:message code="inventory.fuelCap.label" default="Fuel Cap" /></span>
					
						<span class="property-value" aria-labelledby="fuelCap-label"><g:formatBoolean boolean="${inventoryInstance?.fuelCap}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.gearShift}">
				<li class="fieldcontain">
					<span id="gearShift-label" class="property-label"><g:message code="inventory.gearShift.label" default="Gear Shift" /></span>
					
						<span class="property-value" aria-labelledby="gearShift-label"><g:formatBoolean boolean="${inventoryInstance?.gearShift}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.gloveBox}">
				<li class="fieldcontain">
					<span id="gloveBox-label" class="property-label"><g:message code="inventory.gloveBox.label" default="Glove Box" /></span>
					
						<span class="property-value" aria-labelledby="gloveBox-label"><g:formatBoolean boolean="${inventoryInstance?.gloveBox}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.grill}">
				<li class="fieldcontain">
					<span id="grill-label" class="property-label"><g:message code="inventory.grill.label" default="Grill" /></span>
					
						<span class="property-value" aria-labelledby="grill-label"><g:formatBoolean boolean="${inventoryInstance?.grill}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.handle}">
				<li class="fieldcontain">
					<span id="handle-label" class="property-label"><g:message code="inventory.handle.label" default="Handle" /></span>
					
						<span class="property-value" aria-labelledby="handle-label"><g:formatBoolean boolean="${inventoryInstance?.handle}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.heating}">
				<li class="fieldcontain">
					<span id="heating-label" class="property-label"><g:message code="inventory.heating.label" default="Heating" /></span>
					
						<span class="property-value" aria-labelledby="heating-label"><g:formatBoolean boolean="${inventoryInstance?.heating}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.hoodLock}">
				<li class="fieldcontain">
					<span id="hoodLock-label" class="property-label"><g:message code="inventory.hoodLock.label" default="Hood Lock" /></span>
					
						<span class="property-value" aria-labelledby="hoodLock-label"><g:formatBoolean boolean="${inventoryInstance?.hoodLock}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.horn}">
				<li class="fieldcontain">
					<span id="horn-label" class="property-label"><g:message code="inventory.horn.label" default="Horn" /></span>
					
						<span class="property-value" aria-labelledby="horn-label"><g:formatBoolean boolean="${inventoryInstance?.horn}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.innerDoorCovers}">
				<li class="fieldcontain">
					<span id="innerDoorCovers-label" class="property-label"><g:message code="inventory.innerDoorCovers.label" default="Inner Door Covers" /></span>
					
						<span class="property-value" aria-labelledby="innerDoorCovers-label"><g:formatBoolean boolean="${inventoryInstance?.innerDoorCovers}" true="Yes" false="No"  /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.jack}">
				<li class="fieldcontain">
					<span id="jack-label" class="property-label"><g:message code="inventory.jack.label" default="Jack" /></span>
					
						<span class="property-value" aria-labelledby="jack-label"><g:formatBoolean boolean="${inventoryInstance?.jack}" true="Yes" false="No"  /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.lLateralMirror}">
				<li class="fieldcontain">
					<span id="lLateralMirror-label" class="property-label"><g:message code="inventory.lLateralMirror.label" default="LL ateral Mirror" /></span>
					
						<span class="property-value" aria-labelledby="lLateralMirror-label"><g:formatBoolean boolean="${inventoryInstance?.lLateralMirror}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.licensePlate}">
				<li class="fieldcontain">
					<span id="licensePlate-label" class="property-label"><g:message code="inventory.licensePlate.label" default="License Plate" /></span>
					
						<span class="property-value" aria-labelledby="licensePlate-label"><g:formatBoolean boolean="${inventoryInstance?.licensePlate}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.lighter}">
				<li class="fieldcontain">
					<span id="lighter-label" class="property-label"><g:message code="inventory.lighter.label" default="Lighter" /></span>
					
						<span class="property-value" aria-labelledby="lighter-label"><g:formatBoolean boolean="${inventoryInstance?.lighter}" true="Yes" false="No"  /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.lights}">
				<li class="fieldcontain">
					<span id="lights-label" class="property-label"><g:message code="inventory.lights.label" default="Lights" /></span>
					
						<span class="property-value" aria-labelledby="lights-label"><g:formatBoolean boolean="${inventoryInstance?.lights}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.lugWrench}">
				<li class="fieldcontain">
					<span id="lugWrench-label" class="property-label"><g:message code="inventory.lugWrench.label" default="Lug Wrench" /></span>
					
						<span class="property-value" aria-labelledby="lugWrench-label"><g:formatBoolean boolean="${inventoryInstance?.lugWrench}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.mechanicalTechnician}">
				<li class="fieldcontain">
					<span id="mechanicalTechnician-label" class="property-label"><g:message code="inventory.mechanicalTechnician.label" default="Mechanical Technician" /></span>
					
						<span class="property-value" aria-labelledby="mechanicalTechnician-label">${inventoryInstance?.mechanicalTechnician?.name}</span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.observations}">
				<li class="fieldcontain">
					<span id="observations-label" class="property-label"><g:message code="inventory.observations.label" default="Observations" /></span>
					
						<span class="property-value" aria-labelledby="observations-label"><g:fieldValue bean="${inventoryInstance}" field="observations"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.oilCover}">
				<li class="fieldcontain">
					<span id="oilCover-label" class="property-label"><g:message code="inventory.oilCover.label" default="Oil Cover" /></span>
					
						<span class="property-value" aria-labelledby="oilCover-label"><g:formatBoolean boolean="${inventoryInstance?.oilCover}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.ownerManual}">
				<li class="fieldcontain">
					<span id="ownerManual-label" class="property-label"><g:message code="inventory.ownerManual.label" default="Owner Manual" /></span>
					
						<span class="property-value" aria-labelledby="ownerManual-label"><g:formatBoolean boolean="${inventoryInstance?.ownerManual}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.rLateralMirror}">
				<li class="fieldcontain">
					<span id="rLateralMirror-label" class="property-label"><g:message code="inventory.rLateralMirror.label" default="RL ateral Mirror" /></span>
					
						<span class="property-value" aria-labelledby="rLateralMirror-label"><g:formatBoolean boolean="${inventoryInstance?.rLateralMirror}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.radio}">
				<li class="fieldcontain">
					<span id="radio-label" class="property-label"><g:message code="inventory.radio.label" default="Radio" /></span>
					
						<span class="property-value" aria-labelledby="radio-label"><g:formatBoolean boolean="${inventoryInstance?.radio}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.rearLight}">
				<li class="fieldcontain">
					<span id="rearLight-label" class="property-label"><g:message code="inventory.rearLight.label" default="Rear Light" /></span>
					
						<span class="property-value" aria-labelledby="rearLight-label"><g:formatBoolean boolean="${inventoryInstance?.rearLight}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.rearMirror}">
				<li class="fieldcontain">
					<span id="rearMirror-label" class="property-label"><g:message code="inventory.rearMirror.label" default="Rear Mirror" /></span>
					
						<span class="property-value" aria-labelledby="rearMirror-label"><g:formatBoolean boolean="${inventoryInstance?.rearMirror}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.sits}">
				<li class="fieldcontain">
					<span id="sits-label" class="property-label"><g:message code="inventory.sits.label" default="Sits" /></span>
					
						<span class="property-value" aria-labelledby="sits-label"><g:formatBoolean boolean="${inventoryInstance?.sits}" true="Yes" false="No"  /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.sitsBelts}">
				<li class="fieldcontain">
					<span id="sitsBelts-label" class="property-label"><g:message code="inventory.sitsBelts.label" default="Sits Belts" /></span>
					
						<span class="property-value" aria-labelledby="sitsBelts-label"><g:formatBoolean boolean="${inventoryInstance?.sitsBelts}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.sunshade}">
				<li class="fieldcontain">
					<span id="sunshade-label" class="property-label"><g:message code="inventory.sunshade.label" default="Sunshade" /></span>
					
						<span class="property-value" aria-labelledby="sunshade-label"><g:formatBoolean boolean="${inventoryInstance?.sunshade}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.tools}">
				<li class="fieldcontain">
					<span id="tools-label" class="property-label"><g:message code="inventory.tools.label" default="Tools" /></span>
					
						<span class="property-value" aria-labelledby="tools-label"><g:formatBoolean boolean="${inventoryInstance?.tools}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.trunkDoor}">
				<li class="fieldcontain">
					<span id="trunkDoor-label" class="property-label"><g:message code="inventory.trunkDoor.label" default="Trunk Door" /></span>
					
						<span class="property-value" aria-labelledby="trunkDoor-label"><g:formatBoolean boolean="${inventoryInstance?.trunkDoor}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.trunkLock}">
				<li class="fieldcontain">
					<span id="trunkLock-label" class="property-label"><g:message code="inventory.trunkLock.label" default="Trunk Lock" /></span>
					
						<span class="property-value" aria-labelledby="trunkLock-label"><g:formatBoolean boolean="${inventoryInstance?.trunkLock}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.vehicle}">
				<li class="fieldcontain">
					<span id="vehicle-label" class="property-label"><g:message code="inventory.vehicle.label" default="Vehicle" /></span>
					
						<span class="property-value" aria-labelledby="vehicle-label"><g:link action="showVehicle" id="${inventoryInstance?.vehicle?.id}">${inventoryInstance?.vehicle?.licensePlate}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.watch}">
				<li class="fieldcontain">
					<span id="watch-label" class="property-label"><g:message code="inventory.watch.label" default="Watch" /></span>
					
						<span class="property-value" aria-labelledby="watch-label"><g:formatBoolean boolean="${inventoryInstance?.watch}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.wheelCover}">
				<li class="fieldcontain">
					<span id="wheelCover-label" class="property-label"><g:message code="inventory.wheelCover.label" default="Wheel Cover" /></span>
					
						<span class="property-value" aria-labelledby="wheelCover-label"><g:formatBoolean boolean="${inventoryInstance?.wheelCover}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.windows}">
				<li class="fieldcontain">
					<span id="windows-label" class="property-label"><g:message code="inventory.windows.label" default="Windows" /></span>
					
						<span class="property-value" aria-labelledby="windows-label"><g:formatBoolean boolean="${inventoryInstance?.windows}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.windshield}">
				<li class="fieldcontain">
					<span id="windshield-label" class="property-label"><g:message code="inventory.windshield.label" default="Windshield" /></span>
					
						<span class="property-value" aria-labelledby="windshield-label"><g:formatBoolean boolean="${inventoryInstance?.windshield}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.wiper}">
				<li class="fieldcontain">
					<span id="wiper-label" class="property-label"><g:message code="inventory.wiper.label" default="Wiper" /></span>
					
						<span class="property-value" aria-labelledby="wiper-label"><g:formatBoolean boolean="${inventoryInstance?.wiper}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${inventoryInstance?.wiperMotor}">
				<li class="fieldcontain">
					<span id="wiperMotor-label" class="property-label"><g:message code="inventory.wiperMotor.label" default="Wiper Motor" /></span>
					
						<span class="property-value" aria-labelledby="wiperMotor-label"><g:formatBoolean boolean="${inventoryInstance?.wiperMotor}" true="Yes" false="No" /></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:link class="save" action="listInventory">Return</g:link>
                                </fieldset>
			</g:form>
		</div>
	</body>
</html>